home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / uemacs-3.000 / uemacs-3 / uemacs-3.8 / Makefile < prev    next >
Encoding:
Makefile  |  1995-09-23  |  823 b   |  28 lines

  1. CC = gcc
  2. CFLAGS=        -O2 -m486 -pipe 
  3.  
  4. # inital setup
  5. # LIBS = -Wl,-Bstatic -ltermcap -Wl,-Bdynamic
  6. #LIBS = -Wl,-Bstatic -lncurses -Wl,-dynamic
  7. LIBS = -ltermcap
  8. # LIBS = -lncurses
  9. # LIBS= -lncurses -ltermcap
  10. #CFLAGS += -DNCURSES=1 -DTERMCAP=1
  11.  
  12. OFILES=        ansi.o basic.o buffer.o display.o file.o \
  13.         fileio.o hp150.o line.o lock.c main.o random.o region.o \
  14.         search.o spawn.o tcap.o termio.o vt52.o window.o word.o \
  15.         exec.o eval.o isearch.o input.o bind.o
  16.  
  17. CFILES=        ansi.c basic.c bind.c buffer.c display.c  file.c \
  18.         fileio.c hp150.c line.c lock.c main.c random.c region.c \
  19.         search.c spawn.c tcap.c termio.c vt52.c window.c word.c \
  20.         exec.c eval.c isearch.c input.c
  21.  
  22. HFILES=        estruct.h edef.h efunc.h epath.h ebind.h evar.h esearch.h
  23.  
  24. emacs:        $(OFILES)
  25.         $(CC) $(CFLAGS) $(OFILES) ${LIBS} -o emacs
  26.  
  27. $(OFILES):    $(HFILES)
  28.